package com.ruoyi.system.wnjk.mapper;

import com.ruoyi.system.wnjk.domain.po.ShopLogisticsDetails;
import com.ruoyi.system.wnjk.domain.vo.ShopLogisticsDetailsVo;

import java.util.List;

/**
 * 订单物流详情Mapper接口
 *
 * @author ruoyi
 * @date 2025-03-05
 */
public interface ShopLogisticsDetailsMapper
{
    /**
     * 查询订单物流详情
     *
     * @param id 订单物流详情主键
     * @return 订单物流详情
     */
    public ShopLogisticsDetails selectShopLogisticsDetailsById(Long id);

    /**
     * 查询订单物流详情列表
     *
     * @param shopLogisticsDetails 订单物流详情
     * @return 订单物流详情集合
     */
    public List<ShopLogisticsDetails> selectShopLogisticsDetailsList(ShopLogisticsDetails shopLogisticsDetails);

    /**
     * 新增订单物流详情
     *
     * @param shopLogisticsDetails 订单物流详情
     * @return 结果
     */
    public int insertShopLogisticsDetails(ShopLogisticsDetails shopLogisticsDetails);

    /**
     * 修改订单物流详情
     *
     * @param shopLogisticsDetails 订单物流详情
     * @return 结果
     */
    public int updateShopLogisticsDetails(ShopLogisticsDetails shopLogisticsDetails);

    /**
     * 删除订单物流详情
     *
     * @param id 订单物流详情主键
     * @return 结果
     */
    public int deleteShopLogisticsDetailsById(Long id);

    /**
     * 批量删除订单物流详情
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteShopLogisticsDetailsByIds(Long[] ids);

    ShopLogisticsDetailsVo getLogisticsDetailsById(Long id);
}
